package com.lin.server;

import com.lin.dataobject.TSRegion;

import java.util.List;

/**
 * Created by Administrator on 2017/9/21.
 */
public interface RegionService {
    List<TSRegion> findAll();

    TSRegion findById(String id);

    TSRegion save(TSRegion tsRegion);

    void del(TSRegion region);

    Long getChildrenCount(String id);

    List<TSRegion> getChildren(String pid);
}
